package com.py.inbound.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 od_rejected_details
 * 
 * @author ruoyi
 * @date 2024-12-10
 */
public class OdRejectedDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 进货退货明细id */
    private Long rdId;

    /** 进货退货单号 */
    @Excel(name = "进货退货单号")
    private String prCode;

    /** 货品名称 */
    @Excel(name = "货品名称")
    private String productName;

    /** 货品编号 */
    @Excel(name = "货品编号")
    private String productCode;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String productModel;

    /** 货品类型 */
    @Excel(name = "货品类型")
    private String productType;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 进货数量 */
    @Excel(name = "进货数量")
    private Long inNum;

    /** 已入库 */
    @Excel(name = "已入库")
    private Long alreadyNum;

    /** 未入库 */
    @Excel(name = "未入库")
    private Long notyetNum;

    /** 本次退货数量 */
    @Excel(name = "本次退货数量")
    private Long rejectedNum;

    /** 进货单价 */
    @Excel(name = "进货单价")
    private BigDecimal inPrice;

    /** 退货金额 */
    @Excel(name = "退货金额")
    private BigDecimal rejectedPrice;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String isDel;

    public void setRdId(Long rdId) 
    {
        this.rdId = rdId;
    }

    public Long getRdId() 
    {
        return rdId;
    }
    public void setPrCode(String prCode) 
    {
        this.prCode = prCode;
    }

    public String getPrCode() 
    {
        return prCode;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductModel(String productModel) 
    {
        this.productModel = productModel;
    }

    public String getProductModel() 
    {
        return productModel;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setInNum(Long inNum) 
    {
        this.inNum = inNum;
    }

    public Long getInNum() 
    {
        return inNum;
    }
    public void setAlreadyNum(Long alreadyNum) 
    {
        this.alreadyNum = alreadyNum;
    }

    public Long getAlreadyNum() 
    {
        return alreadyNum;
    }
    public void setNotyetNum(Long notyetNum) 
    {
        this.notyetNum = notyetNum;
    }

    public Long getNotyetNum() 
    {
        return notyetNum;
    }
    public void setRejectedNum(Long rejectedNum) 
    {
        this.rejectedNum = rejectedNum;
    }

    public Long getRejectedNum() 
    {
        return rejectedNum;
    }
    public void setInPrice(BigDecimal inPrice) 
    {
        this.inPrice = inPrice;
    }

    public BigDecimal getInPrice() 
    {
        return inPrice;
    }
    public void setRejectedPrice(BigDecimal rejectedPrice) 
    {
        this.rejectedPrice = rejectedPrice;
    }

    public BigDecimal getRejectedPrice() 
    {
        return rejectedPrice;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rdId", getRdId())
            .append("prCode", getPrCode())
            .append("productName", getProductName())
            .append("productCode", getProductCode())
            .append("productModel", getProductModel())
            .append("productType", getProductType())
            .append("unit", getUnit())
            .append("inNum", getInNum())
            .append("alreadyNum", getAlreadyNum())
            .append("notyetNum", getNotyetNum())
            .append("rejectedNum", getRejectedNum())
            .append("inPrice", getInPrice())
            .append("rejectedPrice", getRejectedPrice())
            .append("remark", getRemark())
            .append("isDel", getIsDel())
            .toString();
    }
}
